home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / byacc 1.8.2 / README.FIRST < prev    next >
Encoding:
Text File  |  1993-02-04  |  2.2 KB  |  62 lines  |  [TEXT/R*ch]

  1.  - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING -
  2.  
  3. The '-p' option (generate PERL code) has been changed to '-P'. This is for
  4. compatibility with versions of yacc that use '-p' to specify a new prefix for
  5. generated symbols.
  6.  
  7. Also, be sure to edit the Makefile. It has changed a bit since 1.8.1
  8.  
  9. With that out of the way...
  10.  
  11. The '-p' option is now used to change the prefix of generated symbols to
  12. something other than the default of "yy". See the man page for further
  13. details.
  14.  
  15. I apologize for breaking any makefiles but, I believe that '-p' for prefix
  16. changing has been around longer than '-p' for generating PERL.
  17.  
  18.  
  19. This has been compiled and tested on:
  20.  
  21.     Amiga 3000 with AmigaDOS 2.1 and SAS C 6.1
  22.  
  23.     SUN SPARC systems running SunOS 4.1_PSR_A and 4.1.[123] with
  24.     the bundled compiler, gcc 2.3.3, and clcc
  25.  
  26. Any modifications to make it more portable are welcome.
  27.  
  28. Please report any bugs to rick@IMD.Sterling.COM
  29.  
  30.  
  31. Change History for PERL Berkeley yacc:
  32.  
  33. 1.8    first version of Berkeley yacc 1.8 with PERL support
  34.  
  35. 1.8.1    reformatted Makefile
  36.     add warning about '-r' option with PERL code generation
  37.     escape '$' in state name table in PERL code
  38.     updated PERL version of getdate.y in test directory
  39.     replace a hard coded value of 13 in reader.c with
  40.     'sizeof("$end") + sizeof("$accept")' (let the compiler
  41.     figure out the size)
  42.  
  43. 1.8.2    changed '-p' (PERL) switch to '-P'
  44.     added '-p prefix' switch to allow changing symbol prefix in
  45.       generated code
  46.     fixed small memory leak in copy_action function in reader.c
  47.     base the name of temporary files on the program name (PROGRAM
  48.       variable in Makefile) instead of always using a prefix of 'yacc'
  49.     out of memory checks now take place in only 3 functions instead
  50.       of all over the place (added my_calloc, my_malloc, and
  51.       my_realloc functions)
  52.     added manpage rule to Makefile that generates a manual page
  53.       for the name in the Makefile variable PROGRAM. (see Makefile
  54.       for further details)
  55.     added tests rule to Makefile that runs the new yacc program
  56.       on the yacc files in the test directory and compares the
  57.       output to the files in the test directory
  58.     added Makefile to test directory
  59.     updated PERL version of getdate.y in test directory
  60.     ported to the AMIGA using SAS C 6.1
  61.     added library that contains main() and yyerror()
  62.